package com.atguigu.springcloud.service;

import com.atguigu.springcloud.entities.Dept;

import java.util.List;

/**
 * @author horay
 * @category Class description
 * @email horay_hyc@qq.com
 * @date 2018/6/9 9:31
 */
public interface DeptService {

    public Integer add(Dept dept);

    public Integer edit(Dept dept);

    public Integer delete(Long deptNo);

    public Dept getByDeptNo(Long deptNo);

    public List<Dept> findAll();

}
